package com.jinzecloud.fiction.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jinzecloud.fiction.utils.PageUtils;
import com.jinzecloud.fiction.utils.Query;

import com.jinzecloud.fiction.mapper.TbLabelMapper;
import com.jinzecloud.fiction.bean.TbLabel;
import com.jinzecloud.fiction.service.TbLabelService;


@Service("tbLabelService")
public class TbLabelServiceImpl extends ServiceImpl<TbLabelMapper, TbLabel> implements TbLabelService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TbLabel> page = this.page(
                new Query<TbLabel>().getPage(params),
                new QueryWrapper<TbLabel>()
        );

        return new PageUtils(page);
    }

}